#ifndef CELL_HPP
#	define CELL_HPP

#	include "Position.hpp"

class Piece;

class Cell
{
	public:
		
		Cell(const Position& pos);
		~Cell();

		void 				setPiece(Piece*);
		void				capturePiece();
		void 				clearPiece();
		bool 				hasPiece() const;
		Piece* 				getPiece() const;
		const Position&		getPosition() const;
		unsigned int 		getColorIndex() const; 
		Chess::Color		getColor()		const;
		
	private:
		Position			pos;
		Piece* 				piece;
};

#endif
